﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Comisiones.aspx.cs" Inherits="UI.Web.Comisiones" %>
<asp:Content ID="Content1" ContentPlaceHolderID="bodyContentPlaceHolder" runat="server">    
    <link id="cssGrid" rel="stylesheet" type="text/css" href="css/gridCSS.css"/> 
    <link id="Link1" rel="stylesheet" type="text/css" href="css/MainStyle.css"/> 
    
    <asp:Panel ID="pnlComisiones" runat="server">
        <asp:GridView ID="gvComisiones" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" 
            onselectedindexchanged="gvComisiones_SelectedIndexChanged"
            CssClass="table" AllowPaging="True" 
            PageSize="12">
        <FooterStyle CssClass="FooterStyle" />  
        <PagerStyle CssClass="gridpager" />
        <RowStyle CssClass="RowStyle" /> 
        <HeaderStyle CssClass="HeaderStyle" /> 
        <AlternatingRowStyle CssClass="AlternateRowStyle" />
        
        <Columns>
        <asp:BoundField Headertext="Id" DataField="Id" />
        <asp:BoundField Headertext="Descripcion" DataField="Descripcion" />
        <asp:BoundField Headertext="Año" DataField="Anioespecialidad" />
        <asp:BoundField Headertext="Plan" DataField="Idplan" />
        <asp:CommandField HeaderText="Seleccionar" ShowSelectButton="true" />
        </Columns>
        </asp:GridView>
    </asp:Panel>
 <asp:Panel ID="Panel1" runat="server" Visible="False">
        <br />
        <asp:Label ID="nombreLabel1" runat="server" Text="Id: "></asp:Label>
        <asp:TextBox ID="txtId" runat="server" Enabled="False"></asp:TextBox>

        <asp:Label ID="apellidoLabel1" runat="server" Text="Descripcion: "></asp:Label>
        <asp:TextBox ID="txtDescripcion" runat="server"></asp:TextBox>

        <asp:Label ID="Label2" runat="server" Text="Año: "></asp:Label>
        <asp:TextBox ID="txtAño" runat="server"></asp:TextBox>

        <asp:Label ID="Label3" runat="server" Text="Plan: "></asp:Label>
        <asp:TextBox ID="txtPlan" runat="server"></asp:TextBox>


                
                <asp:Panel ID="formActionsPanel" runat="server">
                <br />
                <asp:Button ID="btnAceptar" runat="server" CssClass="buttonAceptar" Text="Aceptar" 
                        onclick="btnAceptar_Click"  />
                <asp:Button ID="btnCancelar" runat="server" CssClass="buttonEliminar" 
                        Text="Cancelar" onclick="btnCancelar_Click" />
                </asp:Panel>
        </asp:Panel>
        
               <asp:Panel ID="gridActionsMaterias" runat="server">
               <br />
                <asp:Button ID="btnNuevo" runat="server" CssClass="button" Text="Nuevo" 
                       onclick="btnNuevo_Click" />
                <asp:Button ID="btnEditar" runat="server" CssClass="button" Text="Editar" 
                       onclick="btnEditar_Click" />
                <asp:Button ID="btnEliminar" runat="server" CssClass="buttonEliminar" 
                       Text="Eliminar" onclick="btnEliminar_Click" />
               </asp:Panel>

</asp:Content>
